package day2;

/**
 * @author oldliu
 * @since 1.0
 */
public class MathTest {
    public static void main(String[] args) {
        System.out.println(Math.PI);
        System.out.println(Math.sqrt(9));
        System.out.println(Math.sin(0.5));//弧度
        System.out.println(Math.floor(11.4));//
        System.out.println(Math.floor(-11.4));
        System.out.println(Math.ceil(11.4));
        System.out.println(Math.ceil(-11.4));
        System.out.println(Math.round(45.666666));
        System.out.println(Math.pow(5,4));
        for(int i=1;i<20;i++){
            System.out.print(Math.random()+" ");
        }
    }
}
